package org.linlinjava.litemall.admin.vo.goodsstatistics;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("商品统计条件")
public class GoodsStatisticRespVO {

    @ApiModelProperty("商品分类id")
    private String categorylName;

    @ApiModelProperty("商品ID")
    private Integer goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("商品状态")
    private Boolean isOnSale;

    @ApiModelProperty("付款人数")
    private Integer payUserNum;

    @ApiModelProperty("卖出件数")
    private Integer salesNum;

    @ApiModelProperty("总销售金额")
    private BigDecimal actualPrice;

    @ApiModelProperty("总税费")
    private BigDecimal gstTaxPrice;

    @ApiModelProperty("总税费")
    private BigDecimal hstTaxPrice;

    @ApiModelProperty("总税费")
    private BigDecimal pstTaxPrice;

    @ApiModelProperty("退款完成人数")
    private Integer refundUserNum;

    @ApiModelProperty("退款商品数量")
    private Integer refundNum;

    @ApiModelProperty("退款总额")
    private BigDecimal refundActualPrice;

    @ApiModelProperty("退款总额")
    private List<Item> items;

    @Data
    @Accessors(chain = true)
    @ApiModel("项目")
    public static class Item{
        @ApiModelProperty("规格名称")
        private String SpecificationsName;

        @ApiModelProperty("付款人数")
        private Integer payUserNum;

        @ApiModelProperty("卖出件数")
        private Integer salesNum;

        @ApiModelProperty("总销售金额")
        private BigDecimal actualPrice;

        @ApiModelProperty("总税费")
        private BigDecimal gstTaxPrice;

        @ApiModelProperty("总税费")
        private BigDecimal hstTaxPrice;

        @ApiModelProperty("总税费")
        private BigDecimal pstTaxPrice;

        @ApiModelProperty("退款完成人数")
        private Integer refundUserNum;

        @ApiModelProperty("退款商品数量")
        private Integer refundNum;

        @ApiModelProperty("退款总额")
        private BigDecimal refundActualPrice;

        @ApiModelProperty("单位")
        private String unit;

    }


}
